#include "Edge.h"
#include "HalfEdge.h"
#include "Mesh.h"
#include "Types.h"
#include "UniqueID.h"
#include <memory>

auto edgeNextID = geo::UniqueIDGenerator<Edge>::getNextID;

Edge::Edge(Mesh* mesh)
    : _mesh(mesh) {
    _id = edgeNextID();
    _halfEdge1 = nullptr;
    _halfEdge2 = nullptr;
}